$(function(){$("select#country").change(function(){var b=$("select#country").val();$.ajax({type:"GET",url:"includes/javascript/helper/get_states.php",data:"land="+b,cache:false,success:function(a){$("#state").html(a)},beforeSend:function(){$("#state").html("<p style='width:198px' align='center'><img src='templates/<?php echo CURRENT_TEMPLATE ?>/img/wait.gif' alt='' /></p>")}})})});